
using UnityEngine;
using UnityEngine.UI;

namespace Nirvana.UI
{
    public class TipWindow1 : UIWindowBase
    {
        private Text txtMsg;
        protected override void OnAwakeUI()
        {
            txtMsg = m_uiRoot.transform.Find("Text").GetComponent<Text>();
        }


        public void InitUI(string msg)
        {
            txtMsg.text = msg;
        }
    }
}